package com.yonyong.tao.commons.exception;
/**
 * @Author yonyong
 * @Description //TODO
 * @Date 2019/11/11 14:17
 * @Param
 * @return MyExceptionHandler
 **/
public class MyException extends RuntimeException {
	/**
	 * 返回结果
	 */
	private Object result;
	private String logMsg;

	public MyException(Object result) {
		this.result = result;
	}
	public MyException(Object result,String logMsg) {
		this.result = result;
		this.logMsg = logMsg;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public void setLogMsg(String logMsg){
		this.logMsg = logMsg;
	}
	public String getLogMsg(){
		return logMsg;
	}
}